
let hd = {
	data: [1, 2, 3, 34, 5, 7]
};


// 调用原型对象上的方法
console.log(Math.max.call(null, ...hd.data));

let xj = {
	lessons: { js: 87, php: 63, node: 99, linux: 88 },
};
console.log(Math.max.apply(null, Object.values(xj.lessons)));